package utils;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class SystemOut {

    public static void log(String s) {
        String currentTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS"));
        String tname = Thread.currentThread().getName();
        String log = "".concat(currentTime).concat(" [").concat(tname).concat("] : ").concat(s);
        System.out.println(log);
    }
}
